package day0520;

public class Test9 {
    public static void main(String[] args) {
        int m=9;
        switch(m){
            case 1:  m++;
                //如果m等于1， 就执行第一个case后的代码，并用break强制结束switch结构。
            case 3:  m++;
            case 5:  m++;
            case 7:  m++;
            case 8:  m++;
            case 10: m++;
            case 12: m++; break;
            case 4:  m++;
            case 6:  m++;
            case 9:  m++;
            case 11:  m++; break;
            case 2:  m++; break;
            default:  m++;
        }
        System.out.println(m);//
    }
}
